preview database